//package spitter.config;
//
//import org.springframework.web.WebApplicationInitializer;
//
//import javax.servlet.ServletContext;
//import javax.servlet.ServletException;
//
//public class DispatcherServletInitializer implements WebApplicationInitializer {
//    @Override
//    public void onStartup(ServletContext servletContext) throws ServletException {
////        DispatcherServlet ds = new DispatcherServlet();
////        ServletRegistration.Dynamic registration = servletContext.addServlet("dispatcherServlet",
////                ds);
////        registration.addMapping("/");
////        MultipartConfigElement multipartConfigElement = new MultipartConfigElement("/tmp/spitter/uploads");
////        registration.setMultipartConfig(multipartConfigElement);
//    }
//}
